projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
578e68d
)
(wordify): Use empty_unibyte_string.
author
Juanma Barranquero
<lekktu@gmail.com>
Fri, 8 Jun 2007 20:08:39 +0000
(20:08 +0000)
committer
Juanma Barranquero
<lekktu@gmail.com>
Fri, 8 Jun 2007 20:08:39 +0000
(20:08 +0000)
src/search.c
patch
|
blob
|
history
diff --git
a/src/search.c
b/src/search.c
index abc28619199ea780ab4135f72d5642bbfa529911..c9c6dfdd24210778514a248cd25a8d7c281d737b 100644
(file)
--- a/
src/search.c
+++ b/
src/search.c
@@
-2095,7
+2095,7
@@
wordify (string)
if (SYNTAX (prev_c) == Sword)
word_count++;
if (!word_count)
- return empty_string;
+ return empty_
unibyte_
string;
adjust = - punct_count + 5 * (word_count - 1) + 4;
if (STRING_MULTIBYTE (string))